<?php
include_once 'common.inc.php';


if($operation == 'display'){
     $list = pdo_fetchall("select * from " . tablename(MODULE_PREFIX.'qr') . " where uid = ".intval($uid)." and uniacid = ".$uniacid);
     foreach ($list as &$item){
        $item['poster_img_url'] = $path.$item['file'];
        $item['title'] = pdo_fetchcolumn("select title from ".tablename(MODULE_PREFIX."poster")." where id = ".intval($item['posterid']));
     }
}


include $this->template('myposter');